﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataManager.TablesManager;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.Net;
using System.IO;
using System.ServiceModel.Channels;

namespace ConsoleService
{
    class Program
    {
        static void Main(string[] args)
        {
            ServiceHost host = new ServiceHost(typeof(Services_Mess), new Uri("http://localhost:1111/HelloWCF"));
            host.AddServiceEndpoint(typeof(I_Services_Mess), new BasicHttpBinding(), "");
            host.Open();
            Console.WriteLine("Oke!");
            Console.ReadLine();
            host.Close();
        }
    }
}
